Mesa fails to build with GCC 4.8
https://bugs.freedesktop.org/show_bug.cgi?id=100937
Bug ID: 100937
Summary: Mesa fails to build with GCC 4.8
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Recent Mesa (git 7b55a05159) fails to build with GCC 4.8 (opensuse 42.2), but does build with GCC 6 (opensuse TW)
[ 434s] Making all in drivers/radeonsi
[ 434s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/mesa/src/gallium/drivers/radeonsi'
[ 434s] CC si_blit.lo [ 434s] CC si_compute.lo [ 434s] CC cik_sdma.lo [ 434s] CC si_cp_dma.lo [ 434s] CC si_debug.lo [ 434s] CC si_descriptors.lo [ 435s] CC si_dma.lo [ 435s] CC si_hw_context.lo [ 435s] CC si_pipe.lo [ 435s] CC si_pm4.lo [ 435s] CC si_perfcounter.lo [ 436s] si_perfcounter.c:314:1: error: initializer element is not constant [ 436s] }; [ 436s] ^ [ 436s] Makefile:691: recipe for target 'si_perfcounter.lo' failed [ 436s] make[4]: *** [si_perfcounter.lo] Error 1 [ 436s] make[4]: *** Waiting for unfinished jobs.... [ 436s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src/gallium/drivers/radeonsi' [ 436s] Makefile:587: recipe for target 'all-recursive' failed [ 436s] make[3]: *** [all-recursive] Error 1 [ 436s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src/gallium' [ 436s] Makefile:840: recipe for target 'all-recursive' failed [ 436s] make[2]: *** [all-recursive] Error 1 [ 436s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src' [ 436s] Makefile:630: recipe for target 'all' failed [ 436s] make[1]: *** [all] Error 2 [ 436s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/mesa/src' [ 436s] Makefile:632: recipe for target 'all-recursive' failed [ 436s] make: *** [all-recursive] Error 1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100937
--- Comment #1 from Samuel Pitoiset <[email protected]> --- Created attachment 131225
--> https://bugs.freedesktop.org/attachment.cgi?id=131225&action=edit
patch
Can you try this patch?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100937
--- Comment #2 from [email protected] ---
(In reply to Samuel Pitoiset from comment #1)
Quoted 4 lines
Created attachment 131225 [details] [review]
patchCan you try this patch?
It did build successfully with the proposed patch.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=100937
Samuel Pitoiset <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #3 from Samuel Pitoiset <[email protected]> --- Fixed with:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=485ece83aceb3a35792efbc6fe2bca57ba46c04a
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel